package com.ruoyi.production.mapper.graftingclip;

import java.util.List;
import com.ruoyi.production.domain.graftingclip.GraftingclipPurchase;

/**
 * 嫁接夹购买信息Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface GraftingclipPurchaseMapper
{
    /**
     * 查询嫁接夹购买信息
     *
     * @param graftingclipPurchaseId 嫁接夹购买信息ID
     * @return 嫁接夹购买信息
     */
    public GraftingclipPurchase selectGraftingclipPurchaseById(Long graftingclipPurchaseId);

    /**
     * 查询嫁接夹购买信息列表
     *
     * @param graftingclipPurchase 嫁接夹购买信息
     * @return 嫁接夹购买信息集合
     */
    public List<GraftingclipPurchase> selectGraftingclipPurchaseList(GraftingclipPurchase graftingclipPurchase);

    /**
     * 新增嫁接夹购买信息
     *
     * @param graftingclipPurchase 嫁接夹购买信息
     * @return 结果
     */
    public int insertGraftingclipPurchase(GraftingclipPurchase graftingclipPurchase);

    /**
     * 修改嫁接夹购买信息
     *
     * @param graftingclipPurchase 嫁接夹购买信息
     * @return 结果
     */
    public int updateGraftingclipPurchase(GraftingclipPurchase graftingclipPurchase);

    /**
     * 删除嫁接夹购买信息
     *
     * @param graftingclipPurchaseId 嫁接夹购买信息ID
     * @return 结果
     */
    public int deleteGraftingclipPurchaseById(Long graftingclipPurchaseId);

    /**
     * 批量删除嫁接夹购买信息
     *
     * @param graftingclipPurchaseIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGraftingclipPurchaseByIds(Long[] graftingclipPurchaseIds);
}
